
\listoffigures
\addcontentsline{toc}{chapter}{\listfigurename}

\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}

\listoftables